package com.txts.data.controller;


import com.txts.data.common.ResponseDTO;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.*;


/**
 * 设备配置前端控制层
 *
 * @author baoyr
 * @since 2025-07-17 10:47
 */
@Tag(name = "测试接口")
@RestController
@RequestMapping("/api/v1/test")
@RequiredArgsConstructor
public class TestController {


    @Operation(summary = "Redis测试")
    @GetMapping("/redisTest")
    public ResponseDTO<Boolean> writeRedis() {
        return ResponseDTO.ok();
    }

}
